package com.hengxinguotong.hxgtwygsp.ui.notice;

import com.hengxinguotong.hxgtwygsp.ui.app.ActivityScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

/**
 * TODO
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/4/1 14:11
 */

@Module
public abstract class NoticeModule
{
    @ContributesAndroidInjector
    abstract NoticeFragment bindsNoticeFragment();

    @ActivityScoped
    @Binds
    abstract NoticeContract.IPresenter bindsNoticePresenter(NoticePresenter noticePresenter);
}
